package com.tools.demo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xinyuquan
 * @date 2019 01 2019/1/4 6:08 PM
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "wechat.miniapp")
public class MiniConfig {
    private String appid;
    private String secret;
    private String token;
    private String aeskey;
}
